package imu.g3.dao;


import imu.g3.model.User;
import imu.g3.util.DataUtil;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public interface UserMapper {

    public int register(User user);

    public List<User> getUserInfo();

    public void updateIconName(@Param("username") String username, @Param("iconname") String iconname);

}
